﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AMS.Core.ExtensionMethods
{
    public static class TypeExtensions
    {
        public static string GetShortName(this Type me)
        {
            string shortName = me.ToString();
            int i = shortName.LastIndexOf('.');
            shortName = shortName.Substring(i + 1);
            return shortName;
        }
    }
}
